package com.immunology.bean;

import java.util.List;

import com.immunology.model.Syndrome;
import com.immunology.service.SyndromeService;

public class SyndromeBean {

	public List<Syndrome> getSyndromeList() {
		SyndromeService syndromeService = SyndromeService.getInstance();
		return syndromeService.getSyndromeList();
		
	}

	public Syndrome getSyndromeById(int syndromeId) {
		SyndromeService syndromeService = SyndromeService.getInstance();
		return syndromeService.getSyndromeById(syndromeId);
	}

}
